#include<stdio.h>
#include<stdlib.h>
char *strcpy(char *p)
{
	char *str;
	int length=0;
	while(p[length]!='\0') length++;
	str=(char *)malloc((length+1)*sizeof(char));
	for(int i=0;i<length;i++)
	{
		str[i]=p[i];
	}
	str[length]='\0';
	return str;
}
int main()
{
	char *p;
	char *str;
	str=(char *)malloc(sizeof(str)/sizeof(char));
	p=(char *)malloc(sizeof(p)/sizeof(char));
	scanf("%s",p);
	str=strcpy(p);
	puts(str);
}
